import React,{Component} from 'react'
import Header from './Header'
import '../../style/less/config.less';
import $ from 'jquery'
class App extends Component {
	constructor(args) {
		super()
			
	}
	componentDidMount() {
		$('body').css('minWidth','1280px')
	}
	render() {

		return (
			<div className='app'>
			
			   <Header page={this.props.children.props.location.pathname} />
   
			    <div>
			       {this.props.children}
			    </div>

			</div>

		)
	}

}
export default App

